package com.wwlwxg.spring_security.service;

import com.wwlwxg.spring_security.entity.Account;
import com.wwlwxg.spring_security.mapper.AccountMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AccountService {

  @Autowired
  private AccountMapper accountMapper;

  public Account getAccountById(Long id) {
    return accountMapper.selectById(id);
  }
}
